package com.zretc.common.constant;

public interface WebConstant {
    String ERROR_404 = "资源为找到";
    String ERROR_401 = "用户未登陆";
    String ERROR_403 = "权限不足";
    String ERROR_500 = "服务器异常";
    String ERROR_300 = "新增失败，请检查是否输入内容";

    // point & commodity
    String ERROR_301 = "查无此用户";
    String ERROR_302 = "新增失败，请检查是否输入内容";
    String ERROR_303 = "购买失败，请检查积分是否足够";
    String ERROR_304 = "新增失败，请检查价格是否合理";
    String ERROR_305 = "新增失败，请检查声望值是否合理";
    String ERROR_306 = "操作失败，该数据已被隐藏";
    String ERROR_307 = "操作失败，该数据未被隐藏";
    String ERROR_308 = "购买失败，该商品已下架";
    String ERROR_309 = "删除失败";

    String ERROR_310 = "本日签到已完成";

    // file
    String ERROR_405 = "上传文件服务器异常";

    String ERROR_408 = "登陆失败,请检查用户名或密码";

    Integer LOGIN_ERROR_CODE = 408;
    Integer BLOG_ERROR_CODE=300;

    // point & commodity
    Integer NO_USER_ERROR_CODE = 301;
    Integer ADD_COMMODITY_ERROR_CODE = 302;
    Integer BUY_COMMODITY_ERROR_CODE = 303;
    Integer PRICE_COMMODITY_ERROR_CODE = 304;
    Integer REPUTATION_COMMODITY_ERROR_CODE = 305;
    Integer DELETE_COMMODITY_ERROR_CODE = 306;
    Integer RESTORE_COMMODITY_ERROR_CODE = 307;
    Integer BUY_COMMODITY_ERROR_CODE_2 = 308;
    Integer DUPLICATE_CLOCK_IN_ERROR_CODE = 310;

    // file
    Integer UPLOAD_ERROR_CODE = 405;

    String TOKEN_NULL = "令牌不能为空!";
    String TOKEN_ERROR = "令牌过期或不正确!";
    String TOKEN_FAILED = "令牌验证失败!";

}
